<script setup lang="ts">
//获取用户信息
import {useRoute} from "vue-router";
import {SET_TOKEN} from "@/utils/user.ts";
import {onMounted} from "vue";

let $route = useRoute()
console.log('======================',$route.query)
//持久化用户数据
SET_TOKEN(JSON.stringify($route.query))
//此路由组件代码执行：授权成功
const html:any = document.querySelector('html')
html.style.display = 'none'
onMounted(()=>{
  console.log('aaaaaaaaaaaaaaaa')
})
</script>

<template>
<div>

</div>
</template>

<style scoped lang="scss">

</style>